package com.rasou;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.autoconfigure.condition.ConditionalOnNotWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConditionalOnNotWebApplication
public class ARAutoConfiguration {

    private final static Logger logger = LoggerFactory.getLogger(ARAutoConfiguration.class);


    @Bean
    public ApplicationRunner applicationRunner() {
        return args -> logger.info("Hello Spring starter");
    }
}
